<template>
    <div>
        wait
    </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import { namespace } from 'vuex-class'

const vuexLogin = namespace('Login')

@Component({
    components: {}
})
export default class LoginIndex extends Vue {
    created() {
        console.log(window.location.href)
        let now_href = window.location.href
        let token = sessionStorage.getItem('token');
        console.log(now_href)
        let pre_href = now_href.split(':')[0] +":"+ now_href.split(':')[1] + ":8088/#/home?token=" + token
        console.log(pre_href)
        window.location.href = pre_href
        //this.$router.push (pre_href)
    }
}
</script>

<style lang="scss"></style>